services.restic.backups.<name>.exclude

Patterns to exclude when backing up. See https://restic.readthedocs.io/en/latest/040_backup.html#excluding-files for details on syntax.

Type
list of string
Default
[ ]
Example
[
  "/var/cache"
  "/home/*/.cache"
  ".git"
]
Declared
<nixpkgs/nixos/modules/services/backup/restic.nix>